package com.example.demo.service;

import com.example.demo.dto.CouponsListDTO;
import com.example.demo.mapper.entity.Coupons;
import com.example.demo.mapper.entity.StudentCoupons;
import com.example.demo.utils.PageBo;
import com.example.demo.utils.PageVo;

/**
 * @author Lucy
 * @create 2024-02-20 13:29
 */
public interface StudentCouponsService {
    Coupons selectCouponsById(int couponsId);

    void insertStudentCoupons(int studentId, int couponsId);

    PageVo<CouponsListDTO> getStatusCouponsList(PageBo pageBo, int studentId, int status);

    PageVo<CouponsListDTO> getNewlyAcquiredCouponsList(PageBo pageBo, int studentId, int status);

    PageVo<CouponsListDTO> getExpiringCouponsList(PageBo pageBo, int studentId, int status);

    StudentCoupons selectStudentCoupons(int studentId, int couponsId);

    String selectAddressById(int advertiserId);

    void updateStudentCouponsStatus(int studentId, int couponsId);

    StudentCoupons selectStudentCouponsByNumber(String couponsNumber);
}
